package cn.com.code.design.mediator;

import java.sql.Connection;
import java.util.Map;

/**
 * @author zhengpei
 * @date 2021/10/26
 */
public class Configuration {

  protected Connection connection;

  protected Map<String,String> dataSource;

  protected Map<String, XNode> mapperElement;

  public Connection getConnection() {
    return connection;
  }

  public void setConnection(Connection connection) {
    this.connection = connection;
  }

  public Map<String, String> getDataSource() {
    return dataSource;
  }

  public void setDataSource(Map<String, String> dataSource) {
    this.dataSource = dataSource;
  }

  public Map<String, XNode> getMapperElement() {
    return mapperElement;
  }

  public void setMapperElement(Map<String, XNode> mapperElement) {
    this.mapperElement = mapperElement;
  }
}
